package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    void updateOrder(@Param("userId") String userId, @Param("commodityCode") String commodityCode, @Param("orderCount") Integer orderCount, @Param("money") Integer money);
}